package entity;

import java.util.Date;

public class Order {
    private String oid ;
    private Integer userId ;
    private Integer gid ;
    private Integer state ;
    private Integer numbers ;
    private Integer totalPrice ;
    private Date orderTime ;

    public Order(String oid, Integer userId, Integer gid, Integer state,
                 Integer numbers, Integer totalPrice, Date orderTime) {
        this.oid = oid;
        this.userId = userId;
        this.gid = gid;
        this.state = state;
        this.numbers = numbers;
        this.totalPrice = totalPrice;
        this.orderTime = orderTime;
    }

    public Order() {
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getNumbers() {
        return numbers;
    }

    public void setNumbers(Integer numbers) {
        this.numbers = numbers;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }
}
